<?php

class ContentController extends TN_Controller_Action_Public
{
  public function indexAction()
  {
  		$request = $this->_request->getParams();
  		$content = new Zend_Models_LangContent();
        $content = $content->getContentByKey($request['id'],Common_Translate::getLanguage());
        $this->view->title = $content['title'];
        $this->view->contentTitle = $content['title'];
        $this->view->content = $content['content'];   
  }
}
